package com.atguigu.java;

import java.util.HashMap;

/**
 * @auther user
 * @date 2021/12/5 - 10:54
 */
public class DebugTest {
    public static void main(String[] args) {
        //条件断点,直接跳到满足条件的断点位置
        // 断点右击，condition i==60
        for (int i = 0; i < 100; i++) {
            System.out.println("i = " + i);
        }


        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put("name","Tom");
        hashMap.put("age","12");
        hashMap.put("school","TsingHua");
        hashMap.put("major","computer");
        //查看表达式的值
        // eclipse ctrl+u
        //idea alt+F8

        String age = hashMap.get("age");
        System.out.println("age = " + age);

        hashMap.remove("major");
        System.out.println("hashMap = " + hashMap);

    }
}
